package com.ict.web.service.impl;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ict.common.core.text.Convert;
import com.ict.web.domain.ExpertCourse;
import com.ict.web.mapper.ExpertCourseMapper;
import com.ict.web.service.IExpertCourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 专家确认进程Service业务层处理
 * 
 * @author xc
 * @date 2022-02-25
 */
@Service
public class ExpertCourseServiceImpl extends ServiceImpl<ExpertCourseMapper, ExpertCourse> implements IExpertCourseService
{
    @Autowired
    private ExpertCourseMapper expertCourseMapper;


    /**
     * 查询专家确认进程列表
     *
     * @param reviewTaskId 评审任务id
     * @return 专家确认进程集合
     */
    @Override
    public List<ExpertCourse> selectExpertCourseList(String reviewTaskId)
    {
        QueryWrapper<ExpertCourse> wrapper = new QueryWrapper<>();
        wrapper.eq("review_task_id",reviewTaskId);
        return expertCourseMapper.selectList(wrapper);
    }


}
